#!/bin/sh

# This script shows how to (mis)use pkg-config to set up the GENERIK_PATH
# environment variable.
# It would be prefereable to have this line directly in a .bashrc file, for example.

export GENERIK_PATH=`pkg-config --variable=includedir generik | sed -r "s|(\\w):|/\\1|g"`/generik
export GENERIK_LIB_PATH=`pkg-config --variable=libdir generik | sed -r "s|(\\w):|/\\1|g"`
# for example, if prefx='/usr/local/include'
# then GENERIK_PATH='/usr/local/include/generik'

